#pragma once


#include "ScriptCompiler/AST/ExpressionNode.h"

class CScriptToken;

class CBinocularOperatorNode : public CExpressionNode
{
public:
    CBinocularOperatorNode(std::weak_ptr<CScriptFileContext> InFile)
        : CExpressionNode(InFile,EASTNodeType::BinocularOperator)
    {
    }

    //operator
    std::shared_ptr<CScriptToken> Operator;

    //operand
    std::shared_ptr<CExpressionNode> LeftOperand;

    //operand
    std::shared_ptr<CExpressionNode> RightOperand;

    virtual void DebugPrint(int32_t InDepth) override;

    virtual std::shared_ptr<CScriptToken> GetFirstToken() override ;

};